@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/label/label_add.js"]}){
<form id="labelForm" lay-filter="labelForm" class="layui-form model-form">
    <input name="id" type="hidden"/>

    <div class="layui-form-item">
        <#pic boxid="iconPicBox" name="图标"  tip="请上传小于500kb"  hiddenInput="icon" uploadButton="uploadIconPic" />
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">标签名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="labelName" name="labelName" placeholder="请输入标签名称" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="weigh" name="weigh" placeholder="值越小，越靠前" type="number" min="1" max="9999999" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否显示<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="isShow"  value="1" title="显示" checked />
            <input type="radio" name="isShow" value="0" title="隐藏"/>
        </div>
    </div>



    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}